Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing "\" when building dirpath to psmodules #916

Merged
merged 1 commit into from
Apr 10, 2016
Merged

Fix missing "\" when building dirpath to psmodules #916

merged 1 commit into from
Apr 10, 2016

Conversation

liftir
Copy link
Contributor

@liftir liftir commented Apr 9, 2016

Join-Path won't add ""'s without the use of a delimeter. In this case there is no delimiter and as a result the script will fail when it tries to look up $CmderModulePath.

Join-Path won't add "\"'s without the use of a delimeter.  In this case there is no delimiter and as a result the script will fail when it tries to look up $CmderModulePath.
@Stanzilla Stanzilla merged commit b47d04f into cmderdev:master Apr 10, 2016
@Stanzilla
Copy link
Member

@liftir @Jackbennett revert this then?

@Jackbennett
Copy link
Contributor

I just can't find an example this fixes but join-path won't correct too many \'s so in my opinion makes it more fragile to its inputs.

@Jackbennett
Copy link
Contributor

@Stanzilla Might as well stay since it's on but it doesn't do anything. As long as nobody tries to think it needs escaping as "/psmodules/" will break.

@Stanzilla
Copy link
Member

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants